SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e40afe211d6f552fdb53aacf27f7279d8297d4c24f884135d8bc3d460815db3' 
  AND token = 'IDgibrqMPb04j7u4SVb/ow9LRV0hLgsnzAIBJu2A2bw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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