SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '140d0e4d0e768092e6fcc84495e923b4e965112a437aee2f524c38f01351a1d6' 
  AND token = 'pn6zDizspU8DknM1KeeGkbkLxZHg1rbcqXq8w/GQwQE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}