SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '879077bc82263a1b15c1b2a77ea9aa9df80f3c6ab08af90c020f06f0cf7ceba0' 
  AND token = 'QgoKWVFrjGvyS+JCNkSIwOuXMZPGvHJ4bNVKX+XX2eM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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