SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b184536d3cd41ae0f3f3289c6a73d7a030fd021ca57bc49669738ebfcc4db265' 
  AND token = 'VoKOGG+k+5RVB58LY2Ab7WOyLw3o43yZdOBe8LMWxrg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}