SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c17dbdb7fe3c3235a5d7afb5e61f374165b83e1be0c884d87f5f974af2946acd' 
  AND token = 'cIryZlo60cTW5UDmDTsHJj+4z6dCPc/P3YaM8DqTwUY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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