SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f101d337e585c8c6a741fa231e5602325bd4d15998b7b53121ceb2f63a086f0' 
  AND token = 'w8ozLLPMZMNqcNJB7X5Z4Y8wIp5NZz8FmMoWQrI2Knk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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