SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecc416ac442bbd260abbfba0b432161f0fade18895cc8dc229afa61c4c458442' 
  AND token = 'GpwvwH51Zb+p8l+49+Q6BaffvWR/73NbaX+Z+nAC/k8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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