SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5af968b6ab9475b449a4cf98e532da1a60ee36fef72d84024d0988cb4ca27264' 
  AND token = 'k0PY9puXOOFDQZc24pbytkeOcBMLjlJg9pUA2HX01JU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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