SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51abcef8af5c2cb175c52f3b217930ffa29a8396a59d6f519f3f6e9d5aec6ead' 
  AND token = '5u2C0udgQoxupX7vcyMHRO36VOKyInf4M9E0y18MGmI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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