SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87fb3fc20b13cef85ee47b9d7543f9fedcbafe7bf28805c309ea8e0a8c77c2e2' 
  AND token = '3n/I7L3Kkk+zlogQfKssGlKjnn17k1YpN8IRxR76nXk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}