SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b65da136059c7692a50779ff85dfd5b8366f6d94edd9cc835905fa23cac2f3b5' 
  AND token = 'uPee0wErb4Y5t3tnoDuINCPtUCbB9OlWo6wPmltydC0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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