SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce1e6b87e9da2861dfabba00b4c517f94405717bf56bcb6b0bc6ed5f1f6451f2' 
  AND token = '4QFxyI3CavWj9BCCo5msz73Q0Mr4tGgro1gsAAQNeXg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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