SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc7a2571e8e8532e60dbdc72b0d955d735dd8e6057abe74161e9e1fb29de2e04' 
  AND token = '6YrHmwHKBAk4Ic1YrI9dKGTeFMA5rF6yu9vJvEFBEZc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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