SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '040c06ca288d4d61334aad3823ed39c06d3675094cdcb96afd0800ec7dfe896e' 
  AND token = 'EPAiaCeF46P7mqO69aRjFmDi838A71LZj1YvUFQOlGo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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