SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '778034252d329cd72842a3cd6d982b5d854319f9e3ee45f071b296e62f29b89e' 
  AND token = 'y2MWVWpusEtfkvuVJD5Wl+WRLCn/5yyAwYTfed+bXdg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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