SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87dff3938c14ce5c16728b116d38df10ef57603e803192db9a6e5d2f4064ee2e' 
  AND token = '3G8bRujd8y0OEsEb6g86uWAw8D3FzZl1echgVf6szY8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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