SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f61315527aef69fb5e20d8ed460cae4ab514452e79ce3f02b5d218b82b57138' 
  AND token = 'NtlMJe9Lwkm6Ex0Xv2T4Xnc3mKzmEh/qJeDB6mkhFcI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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