SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba3ac6bc69b4c229d59417d7c719f1c6efb9b1f98c9a558b412002796aa15699' 
  AND token = 'k+UBpSVXmXfI+JMipJmNVZY5II2SczFcerFdGsgtACQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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