SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b2ce503eae31fd46ecb910b4c8a66745bbe96fbef360d16506cf7e2457509ef8' 
  AND token = 'X8sczJhAtH8U4hSo1DK3IEfs7Q055bsj4NpIjlsi4z8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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