SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ce80c59a6ef854c798d80c5cdadb8ff66f8d4c0244145f724bbc31344761444' 
  AND token = 'tC6wiKdC2qSiWJUgKf6dZeGqsa2zUBnA6osIcc9HvQw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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