SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a21959158730b2dbd6b32061b2e430f6cb062c12dc3e6663b1fcf565035a82e' 
  AND token = 'bdEC8zVxwuGFczlG4Z5j0bJhs6eBUvJxyigNJGhIgP0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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