SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf3bb5c033e441ab34371bae1d8d5651e4838f1c623e337c9e35e97752285aa6' 
  AND token = 'H9KhvelzycKKieaNX1cd3cTULuKForX+9f7KktOZJWQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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