SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4df80967741470f91d378cb6b4c19ad659c0c104563d546cefbcc384ba216edd' 
  AND token = '7AijXC9/anbXKksdL3dllqHykU3f70nxZlqPOI0Zw9s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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