SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '290516e2cce24b982a36f712551c651fad9a22de203f1aba3332302a417c9878' 
  AND token = '8ronFZY5Se2zg/yXAceuWgnj3WOscMgt4vYdnJgg8HQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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