SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d7ef3d1f7dd2cf12ef8605620a8f4ed29c30c80ee5d86eb22149cb9bf5ddd21' 
  AND token = 'ofHJ5KYqs92IKHuSKKVr6japHFvjtn/9KCmseF0dNsg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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