SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '017d35c2920c343e3d53326ba8c3879d586787e737148fa6bde20f4b3e685c6c' 
  AND token = 'xl51Wg5VyfVDdIckSmb76AFbpH78ZhWVnTtOeAgjiUs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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