SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5e0489df019c71c20d14b849de9ec2c4b955189a00c725920045465c7ecb053' 
  AND token = 'THcew1zCGVKdvZROZrD67VdFOH/NeCa/WsxgNs+iiw4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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