SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ea013bc41386df732ef0aa822ccdac65b4d52a386501d0e3afd23004529277b' 
  AND token = 'unPps4MaqfWNVf2QLb5aQ/hJEbr6QAxR9k16H0L7LTw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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