SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '916f2f94f9afafa798c36188d80be2f00181626df54b91695da9ea72c398166c' 
  AND token = '5rbiJHSphzgFyNBgeaJeQR+fSydE0Tg/Thj12L7RC9I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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