SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddeb83a25515cb1e66ace657c92fc163bce16baffcc3aba963a3fef54433a3bd' 
  AND token = 'teh9B3IViAt6FzzEdraBp+FeV0b4+wRZVvfSWs2h4QM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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