SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a7b5477fe13fa4513eb87ba690edf8f3e99a25459b60a5a154625972aff717bf' 
  AND token = 's+HsDw5AJXyg7X08C5K8RGJ34iu3mRHW99lEbWzzKWM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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