SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f72cb28689f381b694f87bb90e7a1fed315b797741242bc8561f09a431b163ce' 
  AND token = 'K93JwzLRY1i5fjMKSmU12UGk7Jd9dXAZQSO/slBjmTo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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