SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5692c314c2c901870969b25fe78ce82e84391f27b97ad7d4d60324b7b0255f7b' 
  AND token = 'vtxBuKaZkKuBH8leD4lDu15/UqEQqOejyNchO0pRSIo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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